<?php

namespace App\Livewire\Components;

use Livewire\Component;

class ArticleInfo extends Component
{

    public $article;

    public function mount($article)
    {
        $this->article = $article;
    }

    public function render()
    {
        return view('livewire.components.article-info', [
            'article' => $this->article
        ]);
    }
}
